
<?php
/* @var $this TicketController */
/* @var $data Ticket */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('ticket_name')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->ticket_name), array('view', 'id'=>$data->id)); ?>
	<br />

	

	<b><?php echo CHtml::encode($data->getAttributeLabel('ticket_descript')); ?>:</b>
	<?php echo CHtml::encode($data->ticket_descript); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('ticket_service_type')); ?>:</b>
	<?php echo CHtml::encode($data->ticket_service_type); ?>
	<br />
<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('effective_date')); ?>:</b>
	<?php echo CHtml::encode($data->effective_date); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('demo_duration')); ?>:</b>
	<?php echo CHtml::encode($data->demo_duration); ?>
	<br />
	
	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('recommendation')); ?>:</b>
	<?php echo CHtml::encode($data->recommendation); ?>
	<br />
	*/ ?>
	<b><?php echo CHtml::encode($data->getAttributeLabel('employee_id')); ?>:</b>
	<?php echo CHtml::encode($data->employee->FullNameEmployee); 
	?>
	<br />
	<?php
	if($data->customer_business_id!=''){
	?>
	<b><?php
	echo CHtml::encode($data->getAttributeLabel('customer_business_id')); ?>:</b>
	<?php echo CHtml::encode($data->customerBusiness->FullNameCustomer); ?>
	<br/>
    <b><?php
}
else{	echo CHtml::encode($data->getAttributeLabel('customer_resident_id')); ?></b>
	<?php echo CHtml::encode($data->customerResident->FullNameResident); }?>
	<br/>
</div>
